﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.DocModel.APIParam
{
    public class UserScoreParam:BaseParam
    {
        /// <summary>
        ///  课件id
        /// </summary>
        [Required(ErrorMessage = "课件代码必填")]
        public string file_code { get; set; }
        /// <summary>
        ///  关卡代码
        /// </summary>
        [Required(ErrorMessage = "关卡代码必填")]
        public string folder_code { get; set; }
    }
    public class QueryWordSense: BaseParamIgnore
    {
        /// <summary>
        ///  单词
        /// </summary>
        [Required(ErrorMessage = "单词必填")]
        public string word { get; set; }
    }
    public class GoodBuyModel
    {
        /// <summary>
        /// 商品id
        /// </summary>
        [Required(ErrorMessage = "商品id必传")]
        public int file_id { get; set; }
    }
    public class GameRank
    {
        /// <summary>
        ///  课件代码
        /// </summary>
        [Required(ErrorMessage = "课件代码必传")]
        public string file_code { get; set; }
        /// <summary>
        ///  关卡代码
        /// </summary>
        [Required(ErrorMessage = "关卡代码必传")]
        public string cp_code { get; set; }
    }
    public class MyGameRank: GameRank
    {
        /// <summary>
        /// 登录成功返回的用户代码
        /// </summary>
        [Required(ErrorMessage = "登录成功返回的用户代码不能为空")]
        public string userid { get; set; }
    }
}
